package xyz.poke.business.tool.convert;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import xyz.poke.business.tool.dto.TreeDTO;
import xyz.poke.business.tool.vo.TreeVo;

/**
 * @author 迫壳
 * @date 2024/3/24 13:54
 */
@Mapper(componentModel = "spring")
public interface TreeConvert {

    TreeConvert INSTANCE = Mappers.getMapper(TreeConvert.class);

    TreeVo toVo(TreeDTO treeDTO);

}
